﻿
namespace Common.Data.Repository.Enum
{
    public class DataProductXSelling
    {
        public static string MapProductData(string productId, string lang)
        {
            string result = string.Empty;
            switch (productId)
            {
                case "1":
                    result = lang.Equals("en") ? "I2B" : "I2B";
                    break;
                case "2":
                    result = lang.Equals("en") ? "Auto Loan" : "Cho vay mua oto";
                    break;
                case "3":
                    result = lang.Equals("en") ? "Credit Card" : "Thẻ tín dụng";
                    break;
                case "4":
                    result = lang.Equals("en") ? "BF" : "BF";
                    break;
                case "5":
                    result = lang.Equals("en") ? "BIL" : "Cho vay không TSBĐ";
                    break;
                default:
                    result = "Unknow";
                    break;
            }
            return result;
        }

    }
}
